require.config({
  baseUrl: "../../../src/",
  paths: {
    // 3rd deps.
    jquery: "js/vendor/jquery-1.10.2.min",

    // Module deps.
    backToTop: "js/modules/backToTop"
  },
  waitSeconds: 15
});
require([
  'backToTop'
], function () {
  $(function() {
    // Doc nav sccroll.
    $(".doc-nav a").click(function(evt){    
      evt.preventDefault();
      $("html, body").animate({
        scrollTop:$(this.hash).offset().top - 10
      },1000);
    });
  });
});